package com.gxl.ServiceImpl;

import java.util.List;

import com.gxl.Dao.StudentUserDao;
import com.gxl.Entity.StudentUser;
import com.gxl.Service.StudentUserService;


public class StudentUserServiceImpl implements StudentUserService {


	StudentUserDao studentUserDao;



	public StudentUserDao getStudentUserDao() {
		return studentUserDao;
	}



	public void setStudentUserDao(StudentUserDao studentUserDao) {
		this.studentUserDao = studentUserDao;
	}



	public String  InsertStudentUser(StudentUser studentUser)
	{
	//	System.out.println("2```"+studentUser.getUserNo()+studentUser.getUserPassword()+studentUser.getUserSb());
		String s=studentUserDao.InsertStudentUser(studentUser);
		return s;
	
	}
	
	public StudentUser FindStudentUser(String UserNo, String UserPassword) {
		return studentUserDao.FindStudentUser(UserNo,  UserPassword);
	}


	public List<StudentUser> FindAll() {
	
		return studentUserDao.FindAll();
	}



	@Override
<<<<<<< HEAD
	public void ChangeGroup(String sid, String ssb, String sno, String sname,
			String spassword, String sstate, String change) 
	{
	studentUserDao.ChangeGroup(sid, ssb, sno, sname, spassword, sstate, change);
=======
	public void ChangeGroup(String sid, String change) 
	{
	studentUserDao.ChangeGroup(sid, change);
>>>>>>> bcf2400f1f37cc9af755d42c2557f9ec702656e8
		
	}
	




	






}
